#ifndef BObject_H
#define BObject_H
#include <iostream>
#include <QtCore/QCoreApplication>
#include <QtCore/QObject>
#include <QtCore/QThread>
#include <QtCore/QDebug>

class BObject:public QObject
{
    Q_OBJECT
public:
    BObject() {};

public slots:
    void slot()
    {
        qDebug() << "from thread slot(sig):" << QThread::currentThreadId();
        emit sig();
    }
signals:
    void sig();
};

#endif
